
a=2
def main2():
    global a
    a=3
    b=a*2
    b=a*2
    print(b)

main2()
print(a)